package ee.maoinvest.backend.model.dao;

import java.util.List;

import ee.maoinvest.backend.model.data.ElectricityMeter;
import ee.maoinvest.backend.model.data.TransformerCoefficentStandard;

public interface TransformerCoefficentStandardDAO 
{
	//basic CRUD
	public int insertTransformerCoefficentStandard(TransformerCoefficentStandard transformerCoefficentStandard);
	public TransformerCoefficentStandard getTransformerCoefficentStandardByID(int transformerCoefficentStandardID);
	public int updateTransformerCoefficentStandard(TransformerCoefficentStandard updatedTransformerCoefficentStandard);
	public int deleteTransformerCoefficentStandard(int transformerCoefficentStandardID);
	//end of basic CRUD
	
	public List<TransformerCoefficentStandard> getAllTransformerCoefficentStandards();
	public List<TransformerCoefficentStandard> getAllTransformerCoefficentStandardsThatAreNotWrittenOff();
	public int setIsTransformerCoefficentStandardInUse(int transformerCoefficentStandardID, boolean isInUse);
	public int endSpecificElectricityMeterTempRelationWithTransformerCoefficent(ElectricityMeter electricityMeter);
}
